package cn.anycase.demo.enums;

/**
 * @program: stanlogy-sample
 * @description: 异常枚举类
 * @author: lmh
 * @create: 2022-09-26 14:05
 **/
public enum ExceptionCodeEnum {
    SYS_ERROR("9999","系统异常"),
    INSERT_ERROR("1000","添加异常");



    private String code;
    private String message;

    ExceptionCodeEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }
    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
